﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Model;
using GenericLibrariesToolKit;

namespace BLL.Privilege
{
    public interface RoleRightBO:DAO<RoleRight>
    {
        /// <summary>
        /// 获取用户对某一模块功能的访问权限
        /// </summary>
        /// <param name="userId">用户ID</param>
        /// <param name="moduleId">功能模块ID</param>
        /// <param name="operateType">访问权限的操作类型</param>
        /// <returns>是否有权限.有权限:TRUE,无权限:FALSE</returns>
         bool IsPrivilege(string userId, string modelId, OperateType operateType);
    }
}
